"""
URL configuration for dingxiang project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/4.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path, include

urlpatterns = [
    # 管理后台
    path('admin/', admin.site.urls),
    # 临床疾病
    path('clinicalDiseases/', include('clinicalDiseases.urls')),
    # 临床指南
    path('clinicalGuidelines/', include('clinicalGuidelines.urls')),
    # 查找药品
    path('findMedicine/', include('findMedicine.urls')),
    # 首页
    path('home/', include('home.urls')),
    # 医院搜索
    path('searchHospital/', include('SearchHospital.urls')),
    # 疾病信息
    path('disease/', include('disease.urls')),
    # 问医生
    path('askDoctor/', include('AskDoctor.urls')),
    # 科学普及
    path('science/', include('science.urls')),
    # 科学普及文章
    path('sciencePopularization/', include('sciencePopularization.urls')),
    # 用户相关
    path('user/', include('user.urls')),
    # 疫苗信息
    path('vaccine/', include('Vaccine.urls')),
    # 药品信息
    path('medicine/', include('medicine.urls')),
    # 手术信息
    path('operation/', include('operation.urls')),
    # 指南信息
    path('guide/', include('guide.urls')),
    # 生活手册
    path('lifeHandbook/', include('lifeHandbook.urls')),
    # 大众健康
    path('publicHealth/', include('publicHealth.urls')),

    # 后台管理
    path('admins/', include('admins.urls')),
    # 工作流
    path('workflow/', include('workflow.urls')),
    # 个人中心
    path('personalCenter/', include('personalCenter.urls')),
]
